<#include "macro_.ftl">
package ${packageCode}.${moduleMapperKey}.service;

import java.util.List;
import java.util.Map;

import com.fand.persistent.builder.ModelArgs;
import com.fand.dto.PaginationDto;
import com.fand.cache.support.CacheEvictSupport;
<#if businessCode == (moduleMapperKey?cap_first)>

import ${packageCode}.common.service.CommonService;

</#if>

/**
 * ${businessMapper.name!businessCode}服务
 *
 * @author ${author!'haitao.yao'}
 */
public interface ${businessCode}Service, CacheEvictSupport {
	String BEAN_ID = "${packageCode}.${moduleMapperKey}.service.${businessCode}Service";

	String CACHE_NAME = BEAN_ID + "Cache";
<#if businessCode == (moduleMapperKey?cap_first)>

	/**
	 * 获取：公共服务
	 * 
	 * @return 公共服务
	 */
	CommonService getCommonService();
<#list moduleMapper.businessMap?values as localBusiness>
<#if (localBusiness.code!) != (moduleMapperKey?cap_first)>

	/**
	 * 获取：${localBusiness.name!localBusiness.code}服务
	 * 
	 * @return ${localBusiness.name!localBusiness.code}服务
	 */
	${localBusiness.code!}Service get${localBusiness.code!}Service();
</#if>
</#list>
<#else>
</#if>
}